
class Calculator():

    def add(a, b):
        return a + b

    def div(c, d):
        try:
            return c / d
        except:
            print("分母为0")